import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: lenovo
 * Date: 2022-08-26
 * Time: 16:56
 */
public class TreeHeap {
    int[] elem;
    int usedsize;
    public TreeHeap(){
        this.elem = new int[10];
    }
    public void inital(int[] array){
        elem = Arrays.copyOf(array,array.length);
        usedsize = elem.length;
    }
    public void create(){
        for (int i = (usedsize-1-1)/2; i >=0 ; i--) {
            shiftdwom(i,usedsize);

        }

    }
    private  void  shiftdwom(int parent,int len){

    }
}
